package verifica.concessionaria;

import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;

import beans.Paginas;

public class VerificaUsuarioConcessionaria {

	public VerificaUsuarioConcessionaria(){
		
		HttpSession session = (HttpSession) FacesContext.getCurrentInstance().getExternalContext().getSession(true); 
		
		if(session.getAttribute("autenticadoConcessionaria") == null)
			Paginas.showPage("login.xhml");
	}
}